qui xtreg coord1D RILE, i(party)
estimates store dim1_rile
qui xtreg coord1D galtan, i(party)
estimates store dim1_galtan
qui xtreg coord1D opposition, i(party)
estimates store dim1_opp

qui xtreg coord2D RILE, i(party)
estimates store dim2_rile
qui xtreg coord2D galtan, i(party)
estimates store dim2_galtan
qui xtreg coord2D opposition, i(party)
estimates store dim2_opp

qui xtreg coord1D_rat RILE, i(party)
estimates store dim1_rat_rile
qui xtreg coord1D_rat galtan, i(party)
estimates store dim1_rat_galtan
qui xtreg coord1D_rat opposition, i(party)
estimates store dim1_rat_opp

qui xtreg coord2D_rat RILE, i(party)
estimates store dim2_rat_rile
qui xtreg coord2D_rat galtan, i(party)
estimates store dim2_rat_galtan
qui xtreg coord2D_rat opposition, i(party)
estimates store dim2_rat_opp

estimates table dim1_rile dim1_galtan dim1_opp dim2_rile dim2_galtan dim2_opp dim1_rat_rile dim1_rat_galtan dim1_rat_opp  dim2_rat_rile dim2_rat_galtan dim2_rat_opp, star(0.05 0.01 0.001) stats(N) b(%7.2f)
